#pragma once

#ifndef _Label_h_
#define _Label_h_

#include <String>

#include "DrawableGameComponent.h"

namespace Framework {

class Label :
            public DrawableGameComponent {
public:
    Label(Game* game);
    RECT bounds;
    virtual ~Label(void);
    DWORD GetFormat() const;
    void SetFormat(DWORD val);
    virtual D3DXMATRIX GetWorldMatrix();
    void SetText(string text);
    virtual void Draw(FLOAT timeDelta);
    virtual void LoadContent();
private:
    ID3DXFont* font;
    DWORD format;
    std::string text;
};

}

#endif